/********************************************************************************
 * Copyright (c)2016-2020, ShenZhen WanJiaAn Technology CO.,LTD.
 * All Rights Reserved.
 *
 * File Name     : protocol.h
 * Author        : joki.zhu
 * Date          : 2019-10-10
 *
 * Record        :
 * 1.Date        : 2019-10-10
 *   Author      : joki.zhu
 *   Modification: Created file
 ********************************************************************************/

#ifndef __PROTOCOL_H__
#define __PROTOCOL_H__

#include "hi_mw_media_intf.h"

#ifdef __cplusplus
#if __cplusplus
extern "C"{
#endif
#endif /* __cplusplus */

int ProtocalSleepFreeResource();

int ProtocolInit(void);
int ProtocolVideoDataRecvCallBack(HI_HANDLE VencHdl, HI_MW_MEDIA_VIDEO_S* pVStreamData, HI_VOID* pPrivateData);
int ProtocolAudioDataRecvCallBack(HI_HANDLE AencHdl, HI_MW_MEDIA_AUDIO_S* pVStreamData, HI_VOID* pPrivateData);
#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* __cplusplus */


#endif /* __PROTOCOL_H__ */
